package com.hoozhi.education.entity;

import java.util.Set;

/**
 * 用户组实体类
 * @author pharen
 *
 */
public class EduGroup {

	private Integer gid;				//用户组ID
	
	private String groupname;			//组名
	
	private String description;			//用户组描述
	
	private Set<EduUser> userSet;		//用户组的用户,用户组与用户的关系是一对多
	
	private Set<EduAuthority> authoritySet;

	public Integer getGid() {
		return gid;
	}

	public void setGid(Integer gid) {
		this.gid = gid;
	}

	public String getGroupname() {
		return groupname;
	}

	public void setGroupname(String groupname) {
		this.groupname = groupname;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Set<EduUser> getUserSet() {
		return userSet;
	}

	public void setUserSet(Set<EduUser> userSet) {
		this.userSet = userSet;
	}

	public Set<EduAuthority> getAuthoritySet() {
		return authoritySet;
	}

	public void setAuthoritySet(Set<EduAuthority> authoritySet) {
		this.authoritySet = authoritySet;
	}
	
	
}
